//
// Created by ct on 2021/10/26.
//

#ifndef ALGOANDSTRUCT_VECTOR_H
#define ALGOANDSTRUCT_VECTOR_H
#include <vector>
using std::vector;

class Solution {
public:
    // https://leetcode-cn.com/problems/3sum/
    // 三数字之和相加为0
    static vector<vector<int>> threeSum(vector<int>& nums);
    // https://leetcode-cn.com/problems/majority-element/
    // 169. 多数元素
    static int majorityElement(vector<int>& nums);
    // https://leetcode-cn.com/problems/first-missing-positive/
    // 第一个确实的正数
    static  int firstMissingPositive(vector<int>& nums);
};



#endif //ALGOANDSTRUCT_VECTOR_H
